package com.crr.mapper;

import com.crr.bean.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderDetailMapper {
    /**
     * 订单明细
     * @param oid
     * @param orderDetails
     * @return
     */
    int batchSave(@Param("oid") int oid,@Param("orderDetails") List<OrderDetail> orderDetails);
}
